<template>
    <div>
        <div v-for="(item, index) in titles" :key="index">
            {{index}} -- {{item.name}} -- {{item.url}}
        </div>
    </div>
</template>

<script>
    export default {
        name: "index.vue",
        data() {
            return {
                titles: [
                    {
                        name: '首页',
                        url: '/basic/index'
                    }
                ]
            }

        }
    }
</script>

<style>
    .el-header, .el-footer {
        background-color: #B3C0D1;
        color: #333;
        text-align: center;
        line-height: 60px;
    }
    .el-main {
        background-color: #E9EEF3;
        color: #333;
        text-align: center;
        line-height: 160px;
    }
    body > .el-container {
        margin-bottom: 40px;
    }

</style>